package cn.domob.android.ads;

import android.content.Context;

public class m extends b
{
  protected static final String f = "banner";
  protected static final String g = "expandable";
  private static J h = new J(m.class.getSimpleName());

  m(Context paramContext)
  {
    super(paramContext);
    h.a("New DomobAdapter instance.");
  }

  protected c a()
  {
    if (this.b == null)
      this.b = new H(this.a, "banner", 0, this);
    return this.b;
  }

  protected void a(l.b.a parama)
  {
    int i = -1;
    if (this.c != null)
      if (parama.k() == i)
        break label185;
    for (int j = (int)(parama.k() * q.u(this.a)); ; j = i)
    {
      if (parama.l() != i)
        i = (int)(parama.l() * q.u(this.a));
      J localJ = h;
      Object[] arrayOfObject = new Object[2];
      arrayOfObject[0] = Integer.valueOf(j);
      arrayOfObject[1] = Integer.valueOf(i);
      localJ.a(String.format("Expandable size is: %d * %d", arrayOfObject));
      this.d = new y.a(this.a).a(j, i).a(false, false, false, true).a(parama.j()).a(new y.c()
      {
        public void a()
        {
          m.this.d();
          if (m.this.e == null)
            return;
          m.this.e.b();
        }
      });
      this.d.a(this.c);
      this.c.loadUrl("javascript:domobjs.onViewable()");
      if (this.e != null)
        this.e.a();
      return;
      h.e("Expandable part is null.");
      label185: return;
    }
  }

  protected c b()
  {
    if (this.c == null)
      this.c = new H(this.a, "expandable", 0, this);
    return this.c;
  }

  protected void c()
  {
    if (this.b == null)
      return;
    this.b.loadUrl("javascript:domobjs.onViewable()");
  }

  protected void d()
  {
    if (this.c == null)
      return;
    this.c.loadUrl("javascript:domobjs.onDismiss()");
  }

  protected void f()
  {
    if (this.d == null)
      return;
    this.d.a();
  }
}

/* Location:           C:\Users\god\Desktop\liunianjishiben_V1.1_mumayi_3745b_dex2jar.jar
 * Qualified Name:     cn.domob.android.ads.m
 * JD-Core Version:    0.5.4
 */